package com.chefu.carowner.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author goodgoodstudy
 * @since 2021-03-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_user_cars")
@ApiModel(value="UserCars对象", description="")
public class UserCars implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    @ApiModelProperty(value = "主键id")
    private Long ctId; //车型id

    @ApiModelProperty(value = "主键")
    private Long cuId;

    @ApiModelProperty(value = "车主id")
    private Long userId;

    @ApiModelProperty(value = "品牌")
    private String brand;

    @ApiModelProperty(value = "车系")
    private String series;

    @ApiModelProperty(value = "用户类别（服务商0配件商1）")
    private Integer puType;

    @ApiModelProperty(value = "车牌")
    private String carNum;

    @ApiModelProperty(value = "车架号")
    private String frameNum;

    @ApiModelProperty(value = "发动机")
    private String engineNum;

    @ApiModelProperty(value = "是否为默认（0：不是 1：是）")
    private Integer tDefault;


}
